/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package transervfx;

import javafx.application.Application;
import javafx.stage.Stage;
import transervfx.Dato.DAO.ClienteDAO;
import transervfx.Logica.GestorCliente;
import transervfx.Test.TestCliente;
import transervfx.Test.TestUsuario;
import transervfx.Vista.ABMAgenciaExterna;
import transervfx.Vista.ABMCliente;
import transervfx.Vista.CrearTipoServicio;
import transervfx.Vista.RegistrarEncomienda;

/**
 *
 * @author oscar
 */
public class TranServFX extends Application {
    
    @Override
    public void start(Stage primaryStage) {
     
        //  new ABMRepartidor(primaryStage,"Buscar y gestionar repartidores",800,700);
          //new ABMGestor(primaryStage,"Buscar y gestionar gestores",800,700);
        
    
            
      new RegistrarEncomienda(primaryStage,"Registrar encomienda",900,700);
        
       //new ABMCliente(primaryStage,"crear cliente", 900,700);
      
      //new CrearTipoServicio(primaryStage,"Crear tipo de servicio",800,700);
      
      //new ABMAgenciaExterna(primaryStage,"ABM agencia Externa",800,700);
      
      
       // new ABMLugarTramiteFrecuente(primaryStage,"ABM lugar Tramite Frecuente",820,700);
        
       // new CrearLugarTramiteFrecuente(primaryStage,"Crear lugar personal frecuente",630,315);
        
      //  new CrearUsuario(primaryStage,"Crear lugar personal frecuente",630,315);
        
    
      
 
      //    new CrearGuiaTramites(primaryStage,"Crear guía de gestión de trámites",800,700);
        
     // new CrearClienteJuridico(primaryStage,"Crear cliente jurídico",800,700);
         
   // new CrearClienteFisico(primaryStage,"Crear cliente físico",800,700);
        
     
         
       // new ModificarGestor(primaryStage,"Crear gestor",800,700);
      
            
 
            
        
        
    }

    /**
     * The main() method is ignored in correctly deployed JavaFX application.
     * main() serves only as fallback in case the application can not be
     * launched through deployment artifacts, e.g., in IDEs with limited FX
     * support. NetBeans ignores main().
     *
     * @param args the command line arguments
     */
    public static void main(String[] args) {
           
        launch(args);
    }
    
    private void ejecutarTest(){
        new TestCliente().ejecutarTest1();
    // new TestComicionista().ejecutarTest1();
     // new TestCliente().ejecutarTest1();
        
       (new TestCliente()).mostrarCliente();
        
        
        new TestUsuario().ejecutarTest1();
    }
}
